package cn.com.twoke.game.client.handler;

import cn.com.twoke.game.client.ui.UiManager;
import cn.com.twoke.game.common.entity.message.Message;
import cn.com.twoke.game.common.handler.MessageHandler;

import java.io.IOException;
import java.nio.channels.Selector;
import java.nio.channels.SocketChannel;

public class ConnectHandler implements MessageHandler<Message> {

    @Override
    public void handle(Selector selector, SocketChannel channel, Message _message) throws IOException {
        UiManager.LOGIN.setVisible(true);
    }


}
